package com.moss.street.market;
/*
 * Created on Nov 24, 2011
 */

import java.io.Serializable;

/**
 * A java class that is counterpart to the users database table.
 * @author drusk
 *
 */
public class UsersBean implements Serializable
{
    private String userId;
    private String username;
    private String password;
    private String lastName;
    private String firstName;
    private String isStaffMemberYN;
    private String emailAddress;
    private String contactInfo;
    
    public UsersBean()
    {
        this.userId = "";
        this.username = "";
        this.password = "";
        this.lastName = "";
        this.firstName = "";
        this.emailAddress = "";
        this.isStaffMemberYN = "";
        this.contactInfo = "";
    }
    
    public UsersBean(String userId, String username, String password, String lastName,
    		String firstName, String isStaffMemberYN, String emailAddress, String contactInfo)
    {
    	this.userId = userId;
    	this.username = username;
    	this.password = password;
    	this.lastName = lastName;
        this.firstName = firstName;
        this.isStaffMemberYN = isStaffMemberYN;
        this.emailAddress = emailAddress;
        this.contactInfo = contactInfo;
    }
    
    /**
     * @return Returns the userId.
     */
    public String getUserId()
    {
        return userId;
    }
    /**
     * @param userId The userId to set.
     */
    public void setUserId(String userId)
    {
        this.userId = userId;
    }
    
    public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
	
    /**
     * @return Returns the lastName.
     */
    public String getLastName()
    {
        return lastName;
    }
    /**
     * @param lastName The lastName to set.
     */
    public void setLastName(String lastName)
    {
        this.lastName = lastName;
    }
    
    /**
     * @return Returns the firstName.
     */
    public String getFirstName()
    {
        return firstName;
    }
    
    /**
     * @param firstName The firstName to set.
     */
    public void setFirstName(String firstName)
    {
        this.firstName = firstName;
    }
  
    /**
     * @return Returns the firstName.
     */
    public String getEmailAddress()
    {
        return emailAddress;
    }
    
    /**
     * @param firstName The firstName to set.
     */
    public void setEmailAddress(String emailAddress)
    {
        this.emailAddress = emailAddress;
    }
    /**
     * @return Returns the contactInfo.
     */
    public String getContactInfo()
    {
        return contactInfo;
    }
    
    /**
     * @param contactInfo The contactInfo to set.
     */
    public void setContactInfo(String contactInfo)
    {
        this.contactInfo = contactInfo;
    }
    
    /**
     * @return Returns isStaffMemberYN.
     */
    public String getIsStaffMemberYN()
    {
        return isStaffMemberYN;
    }
    /**
     * @param isStaffMemberYN The isStaffMemberYN to set.
     */
    public void setIsStaffMemberYN(String isStaffMemberYN)
    {
        this.isStaffMemberYN = isStaffMemberYN;
    }
}